import cv2
from PIL import Image
import numpy as np
import matplotlib.pyplot as plt


image = Image.open('D:\python\Aclass\myself_V4\dataset\JPEGImages\\100.jpg')
plt.imshow(image)
plt.show()
image = np.asarray(image)
print(image)
image = cv2.cvtColor(image,cv2.COLOR_RGB2BGR)
plt.imshow(image)
plt.show()
print(image)